package com.meridian.commerce.service;

import java.util.List;

public interface EntityCrudService<T> {
	public T findByPK(Long id);
	public T create(T entity,Long parentEntityId);
	public T create(T entity);	
	public T update(T entity);
	public List<T> list();
	public void delete(Long id);
	public T newInstance();
}
